package com.newjiabo.ski.service;

import java.util.List;

import com.newjiabo.ski.domain.SkiSetMealServicesRel;

/**
 * 更多服务套餐关联Service接口
 *
 * @author CaoMengHui
 * @date 2023-09-19
 */
public interface ISkiSetMealServicesRelService {
    /**
     * 查询更多服务套餐关联
     *
     * @param setMealId 更多服务套餐关联主键
     * @return 更多服务套餐关联
     */
    List<SkiSetMealServicesRel> selectSkiSetMealServicesRelBySetMealId(String setMealId);

    /**
     * 查询更多服务套餐关联列表
     *
     * @param skiSetMealServicesRel 更多服务套餐关联
     * @return 更多服务套餐关联集合
     */
    List<SkiSetMealServicesRel> selectSkiSetMealServicesRelList(SkiSetMealServicesRel skiSetMealServicesRel);

    /**
     * 新增更多服务套餐关联
     *
     * @param skiSetMealServicesRel 更多服务套餐关联
     * @return 结果
     */
    int insertSkiSetMealServicesRel(SkiSetMealServicesRel skiSetMealServicesRel);

    /**
     * 修改更多服务套餐关联
     *
     * @param skiSetMealServicesRel 更多服务套餐关联
     * @return 结果
     */
    int updateSkiSetMealServicesRel(SkiSetMealServicesRel skiSetMealServicesRel);

    /**
     * 批量删除更多服务套餐关联
     *
     * @param setMealIds 需要删除的更多服务套餐关联主键集合
     * @return 结果
     */
    int deleteSkiSetMealServicesRelBySetMealIds(String[] setMealIds);

    /**
     * 删除更多服务套餐关联信息
     *
     * @param setMealId 更多服务套餐关联主键
     * @return 结果
     */
    int deleteSkiSetMealServicesRelBySetMealId(String setMealId);

    /**
     * 绑定服务
     *
     * @param skiSetMealServicesRelList
     * @return
     * @author CaoMengHui.
     * @date 2023/9/19 9:50
     */
    int bindingServices(List<SkiSetMealServicesRel> skiSetMealServicesRelList);

}
